package com.xuecheng.manage_course.service;

import com.xuecheng.framework.domain.system.SysDictionary;
import com.xuecheng.manage_course.dao.SysDictionaryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhang kun
 * @Classname SysDictionaryService
 * @Description TODO
 * @Date 2021/5/31 19:22
 */
@Service
public class SysDictionaryService {
    @Autowired
    private SysDictionaryRepository sysDictionaryRepository;

    public SysDictionary findBydType(String type) {
        SysDictionary bydType = sysDictionaryRepository.findBydType(type);
        return bydType;
    }
}
